package com.btkjgc.models;

// default package

import java.sql.Time;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;


 

/**
 * ElectricChargingSite entity. @author MyEclipse Persistence Tools
 */

@Entity
@Table(name = "electric_charging_site_t")
@DynamicUpdate(true)
@DynamicInsert(true)
public class ElectricChargingSite extends Base implements java.io.Serializable {

	private Integer id;
	private String name;
	private String address;
	private Integer channel_num;
	private String tel;
	private Integer supersite;
	private Integer proper_companyid;
	//时间映射成Time这个字段
	private Time beginTime;
	private Time endTime;
	private Integer state;
	private Integer provinceid;
	private Integer cityid;
	private Integer areaid;
	private Integer del;
	private Date createdate;

	@Id  
	@Column(name="id",unique=true)  
    @GeneratedValue(strategy=GenerationType.AUTO)  
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

 
	public Integer getChannel_num() {
		return channel_num;
	}

	public void setChannel_num(Integer channel_num) {
		this.channel_num = channel_num;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public Integer getSupersite() {
		return supersite;
	}

	public void setSupersite(Integer supersite) {
		this.supersite = supersite;
	}
 
	public Integer getProper_companyid() {
		return proper_companyid;
	}

	public void setProper_companyid(Integer proper_companyid) {
		this.proper_companyid = proper_companyid;
	}
 

	public Time getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Time beginTime) {
		this.beginTime = beginTime;
	}

	public Time getEndTime() {
		return endTime;
	}

	public void setEndTime(Time endTime) {
		this.endTime = endTime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getProvinceid() {
		return provinceid;
	}

	public void setProvinceid(Integer provinceid) {
		this.provinceid = provinceid;
	}

	public Integer getCityid() {
		return cityid;
	}

	public void setCityid(Integer cityid) {
		this.cityid = cityid;
	}

	public Integer getAreaid() {
		return areaid;
	}

	public void setAreaid(Integer areaid) {
		this.areaid = areaid;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}
 
}